package com.sen.design.principle.demeter;

import java.util.ArrayList;
import java.util.List;

public class TeamLeader {
    public void checkNumberOfCrouse() {
        List<Crouse> crouseList = new ArrayList<>();
        for (int i = 0; i < 20; i++) {
            crouseList.add(new Crouse());
        }
        System.out.println("在线的数量是：" + crouseList.size());
    }
}
